<?php

namespace Xrfg\Api\Trading\Home\Resources;

use App\Http\Resources\Resource;

class WebBannerResource extends Resource
{
    /**
     * Transform the resource collection into an array.
     *
     * @param \Illuminate\Http\Request $request
     *
     * @return array
     */
    public function toArray($request)
    {
        return [
            'title' => $this->title,
            'large_picture' => $this->large_picture,
            'small_picture' => $this->picture,
            'link' => $this->link,
        ];
    }
}
